package com.OjSystem.common.core.errorCode.modules.ojSystem;

import com.OjSystem.common.core.errorCode.ErrorCode;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
public enum ServiceErrorCode implements ErrorCode {
    // --------------------- 管理员登录模块 ---------------------//
    USER_IS_NOT_EXIST(100,"不存在"),
    PASSWORD_IS_ERROR(101,"管理员登录密码错误"),
    ;

    private Integer code;
    private String errorMsg;

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getErrMsg() {
        return this.errorMsg;
    }
}
